{{extend "req_layout.html"}}

{{block sub_menu}}
{{sub_menu(menu_items, 'risk', 'solutions')}}
{{end}}

{{block content_main}}
{{link "tforms.css"}}
{{use "jqutils"}}
<style type="text/css">
<!--
#div_field_riskpoint select, #div_field_system select, #div_field_requirement input, #div_field_task_id input{width:60%;margin-right:10px;}
form.tform .type-text label.label_fix, form.tform .type-select label.label_fix {width:100px;}

-->
</style>

<div class="content">
    <div class="box">
        <h2>修改风险整改措施信息</h2>
        <div class="box-body">
            {{embed form}}
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function(){
        if ($('#field_solution_mode').val() == '1'){
            $('#field_nondev_riskpoint_status').attr('disabled', true);
        }
        $('#field_solution_mode').change(function(){
            var el = $(this);
            if (el.val() == '1'){
                $('#field_nondev_riskpoint_status').attr('disabled', true);
            }else{
                $('#field_nondev_riskpoint_status').removeAttr('disabled');
            }
        });
    });
</script>
{{end}}
